Optimal. Leaf size=68 \[ \frac{2 a^2 \sqrt{x}}{b^3}-\frac{2 a^{5/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{b^{7/2}}+\frac{2 a x^{3/2}}{3 b^2}+\frac{2 x^{5/2}}{5 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02392, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {50, 63, 208} \[ \frac{2 a^2 \sqrt{x}}{b^3}-\frac{2 a^{5/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{b^{7/2}}+\frac{2 a x^{3/2}}{3 b^2}+\frac{2 x^{5/2}}{5 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{x^{5/2}}{-a+b x} \, dx &=\frac{2 x^{5/2}}{5 b}+\frac{a \int \frac{x^{3/2}}{-a+b x} \, dx}{b}\\ &=\frac{2 a x^{3/2}}{3 b^2}+\frac{2 x^{5/2}}{5 b}+\frac{a^2 \int \frac{\sqrt{x}}{-a+b x} \, dx}{b^2}\\ &=\frac{2 a^2 \sqrt{x}}{b^3}+\frac{2 a x^{3/2}}{3 b^2}+\frac{2 x^{5/2}}{5 b}+\frac{a^3 \int \frac{1}{\sqrt{x} (-a+b x)} \, dx}{b^3}\\ &=\frac{2 a^2 \sqrt{x}}{b^3}+\frac{2 a x^{3/2}}{3 b^2}+\frac{2 x^{5/2}}{5 b}+\frac{\left (2 a^3\right ) \operatorname{Subst}\left (\int \frac{1}{-a+b x^2} \, dx,x,\sqrt{x}\right )}{b^3}\\ &=\frac{2 a^2 \sqrt{x}}{b^3}+\frac{2 a x^{3/2}}{3 b^2}+\frac{2 x^{5/2}}{5 b}-\frac{2 a^{5/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{b^{7/2}}\\ \end{align*}
Mathematica [A] time = 0.0250639, size = 61, normalized size = 0.9 \[ \frac{2 \sqrt{x} \left (15 a^2+5 a b x+3 b^2 x^2\right )}{15 b^3}-\frac{2 a^{5/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{b^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 54, normalized size = 0.8 \begin{align*} 2\,{\frac{1/5\,{b}^{2}{x}^{5/2}+1/3\,ab{x}^{3/2}+{a}^{2}\sqrt{x}}{{b}^{3}}}-2\,{\frac{{a}^{3}}{{b}^{3}\sqrt{ab}}{\it Artanh} \left ({\frac{b\sqrt{x}}{\sqrt{ab}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.30866, size = 306, normalized size = 4.5 \begin{align*} \left [\frac{15 \, a^{2} \sqrt{\frac{a}{b}} \log \left (\frac{b x - 2 \, b \sqrt{x} \sqrt{\frac{a}{b}} + a}{b x - a}\right ) + 2 \,{\left (3 \, b^{2} x^{2} + 5 \, a b x + 15 \, a^{2}\right )} \sqrt{x}}{15 \, b^{3}}, \frac{2 \,{\left (15 \, a^{2} \sqrt{-\frac{a}{b}} \arctan \left (\frac{b \sqrt{x} \sqrt{-\frac{a}{b}}}{a}\right ) +{\left (3 \, b^{2} x^{2} + 5 \, a b x + 15 \, a^{2}\right )} \sqrt{x}\right )}}{15 \, b^{3}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 16.8025, size = 116, normalized size = 1.71 \begin{align*} \begin{cases} \frac{a^{\frac{5}{2}} \log{\left (- \sqrt{a} \sqrt{\frac{1}{b}} + \sqrt{x} \right )}}{b^{4} \sqrt{\frac{1}{b}}} - \frac{a^{\frac{5}{2}} \log{\left (\sqrt{a} \sqrt{\frac{1}{b}} + \sqrt{x} \right )}}{b^{4} \sqrt{\frac{1}{b}}} + \frac{2 a^{2} \sqrt{x}}{b^{3}} + \frac{2 a x^{\frac{3}{2}}}{3 b^{2}} + \frac{2 x^{\frac{5}{2}}}{5 b} & \text{for}\: b \neq 0 \\- \frac{2 x^{\frac{7}{2}}}{7 a} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17681, size = 82, normalized size = 1.21 \begin{align*} \frac{2 \, a^{3} \arctan \left (\frac{b \sqrt{x}}{\sqrt{-a b}}\right )}{\sqrt{-a b} b^{3}} + \frac{2 \,{\left (3 \, b^{4} x^{\frac{5}{2}} + 5 \, a b^{3} x^{\frac{3}{2}} + 15 \, a^{2} b^{2} \sqrt{x}\right )}}{15 \, b^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]